﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;

namespace WXEntity
{
    public class WXSetEntity
    {
        private string _AppID;
        /// <summary>
        /// 小程序ID
        /// </summary>
        public string AppID
        {
            get { return _AppID; }
            set { _AppID = value; }
        }

        private string _AppSecret;
        /// <summary>
        /// 小程序密钥
        /// </summary>
        public string AppSecret
        {
            get { return _AppSecret; }
            set { _AppSecret = value; }
        }

        private string _ConnectionString;
        /// <summary>
        /// sql字符串
        /// </summary>
        public string ConnectionString
        {
            get { return _ConnectionString; }
            set { _ConnectionString = value; }
        }


        public static WXSetEntity Instance=new WXSetEntity();
        WXSetEntity()
        {
            _AppID = ConfigurationManager.AppSettings["AppID"];
            _AppSecret = ConfigurationManager.AppSettings["AppSecret"];
        }
    }
}